package com.wn.ticket.service;

import com.wn.ticket.entity.Admin;


import java.util.List;

/**
 * 管理员相关功能
 * @author 李明珍
 * date: 2022/8/29
 */

public interface AdminService {

    Admin login(Admin admin);

    void add(Admin admin);

    void update(Admin admin);

    List<Admin> getAll();

    Admin getByAccount(String account);

    Admin getById(int id);
}
